home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 51
/
Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso
/
-serious-
/
hardware
/
mccontrol
/
modules
/
include.i
< prev
next >
Wrap
Text File
|
2000-01-27
|
2KB
|
51 lines
Module_Identifier = "MCCM"
Module_VersionNumber = 1
RSRESET
Module_Code rs.w 1 ;MUST $4e75 (RTS)
Module_Version rs.w 1 ;Must be Module_VersionNumber
Module_ID rs.l 1 ;Must be "MCCM"
Module_Flags rs.l 1 ;see below (unused flags must be zero)
Module_Exec_Base rs.l 1 ;Filled by MCControl
Module_Dos_Base rs.l 1 ;Filled by MCControl
Module_Intuition_Base rs.l 1 ;Filled by MCControl
;--- Card Data
Module_DelayReadByte rs.l 1 ;Filled by MCControl
Module_DelayReadBit rs.l 1 ;Filled by MCControl
Module_DelayWriteByte rs.l 1 ;Filled by MCControl
Module_DelayWriteBit rs.l 1 ;Filled by MCControl
Module_Reserved1 rs.l 10 ;reserved (must be ZERO)
;--- Jump Table
Module_Delay rs.w 3 ;Filled by MCControl
Module_Open rs.w 3
Module_Close rs.w 3
Module_FrameOpen rs.w 3
Module_FrameClose rs.w 3
Module_ReadCommand rs.w 3
Module_WriteCommand rs.w 3 ;equal to Module_ReadCommand other delay
Module_PADOpen rs.w 3
Module_PADClose rs.w 3
Module_PADCommand rs.w 3
Module_DirectFrame rs.w 3
Module_DirectPage rs.w 3
Module_Reserved2 rs.w 3*8 ;reserved
Module_SIZEOF rs.b 0
;----------------------------------------------------------------------------
BITDEF Module,Delay,0 ;Tell MCControl you require timing data.
BITDEF Module,Device,1 ;Tell MCControl you require an Device/Unit
;selector
BITDEF Module,MultiPage,2 ;Tell MCControl you support MultiPage cards
BITDEF Module,DirectAccess,3 ;Tell MCControl you support DirectPage support
BITDEF Module,MultiSlot,4 ;Tell MCControl you support more than one slot
;----------------------------------------------------------------------------
Module_Error_NoError = 0
Module_Error_OpenDevice = 1 ;Opening the given device fails!
Module_Error_NotCompatible = 2 ;If hardware supports identification!
Module_Error_NoTimerDevice = 3 ;If you need the timer.device and opening fails
Module_Error_OutOfMemory = 20
;----------------------------------------------------------------------------
Module_DirectFrame_Read = 0
Module_DirectFrame_Write = 1
;----------------------------------------------------------------------------
Module_DirectPage_Next = 0
Module_DirectPage_Prev = 1